import ReactDOM from 'react-dom/client';
import store from "./redux/store";
import {Provider} from "react-redux";
import App from "./App";
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  /* 创建一个提供者，将store传递给所有需要的组件 */
  <Provider store={store}>
    <App />
  </Provider>
);